﻿namespace Library.OrmEnterpriseEntity.TableInfo {
	///<summary>
	///</summary>
	public class RestrictDeleteException : DeleteException {
		///<summary>
		///</summary>
		///<param name="message"></param>
		///<param name="relation"></param>
		public RestrictDeleteException(string message,RelationView relation)
			: base(message) {
			Relation = relation;
		}
		/// <summary>
		/// Restrict relation
		/// </summary>
		public RelationView Relation { get; private set; }
	}
}
